import { reqJson } from './requestWithToken';
import domain from '@/utils/domain';

export async function tree() {
  const url = `${domain.user}/sys/permissions/tree`;
  return reqJson.get(url);
}

export async function fake() {
  return null;
}